home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re FW_CDropCommand--PrivHan < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  888 b   |  [TEXT/ttxt]

  1. Subject:     Re: FW_CDropCommand--PrivHan
  2. Sent:        6/21/96 3:01 PM
  3. Received:    6/24/96 8:24 AM
  4. From:        Mary Boetcher, mary_boetcher@quickmail.apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Mail*Link® SMTP               RE>FW_CDropCommand::PrivHandleDrop
  9.  
  10. >FW_CDropCommand::PrivHandleDrop calls DoDrop in a loop and assigns the
  11. >result of DoDrop to a local variable. However, the result of each iteration
  12. >of DoDrop zaps the result of the previous iteration. Therefore, the result
  13. >of PrivHandleDrop is the success/failure state of the last dropped object.
  14. >
  15. >This looks like a bug, does it?
  16.  
  17. I don't think it's a bug... The iteration stops if the result of DoDrop is false. So PrivHandleDrop returns true only if all the objects were dropped successfully.
  18.  
  19. Mary Boetcher
  20. ODF Person
  21.